using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;
using Sedna.Core.Controls.Support;
using Sedna.Core.Persistence;

namespace Sedna.Core.Controller
{
    public interface IListController : IController
    {
        IListControl Control { get; set; }

        IDataProvider DataProvider { get; }

        IEqualityComparer ElementsComparer { get; }

        bool CacheData { get; }

        IList Items { get; }

        /// <summary>
        /// Automatic attachment objects to NHibernate session
        /// </summary>
        bool AutoAttach { get; }
    }
}
